package de.fh.ka.as.car.routing.map;

import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Point;

public class RoutingPointMapObject extends MapObject
{

    /**
     * Init constructor of RoutingPointMapObject.
     * 
     * @param point
     *            The point Parameter represents the Position on the Map as
     *            X/-Values.
     */
    public RoutingPointMapObject(Point point)
    {
	super(point);
    }

    public RoutingPointMapObject()
    {
	super();
    }

    @Override
    public void draw(Canvas canvas, Paint paint)
    {
	paint.setColor(Color.RED);
	canvas.drawCircle(getPoint().x + 10, getPoint().y + 10, 10, paint);
    }
}
